<?php
FLEA::loadClass('FLEA_Com_RBAC_UsersManager');
class Model_UserManager extends FLEA_Com_RBAC_UsersManager
{
	var $tableName		= 'tb_user';
	var $primaryKey		= 'user_id';
	

	var $manyToMany		= array(
							'tableClass'=>'Model_RoleManager',
							'mappingName'=>'roles',
							'joinTable'=>'tb_roleuser',
						);
	var $rolesField		= 'roles';
	var $usernameField	= 'user_name';
	var $passwordField	= 'user_pwd';
	var $emailField		= 'user_email';
	var	$encodeMethod	= PWD_CRYPT;// PWD_MD5
}
?>